﻿using System.Collections.Generic;
using System.Linq;
using YogaStudio.Data.Domain;

namespace YogaStudio.Service.BLL
{
    public interface IOrderService
    {
        void CreateOrder(User currentUser, List<ShoppingCart> shoppingCartItems, PaymentDetail paymentDetails, Shipping shippingDetails);
        IQueryable<Order> GetAllOrdersByUserId(int userId);
        IQueryable<OrderItem> GetAllOrderItems(int orderId, int userId);
    }
}